<?php


namespace App\Http\Controllers\OgreenCard;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;


class IndexController extends Controller
{
    public function index(Request $request)
    {
        $admin = $request->session()->get("manager");
        $company = DB::table('og_company')->where('com_id',COM_ID)->first();
        return view('ogreencard/index/index',["admin"=>$admin,'company'=>$company->com_name]);
    }
}